<?php
/**
 * Mall.php class file.
 * @author wudg <544038230@qq.com>
 * @date 2020/12/9- 上午11:22
 */

namespace common\components\api\isv;


class Mall extends BaseIsv
{

    /**
     * 获取卖家信息
     * @param int $mall_id
     * @return array
     * @throws \common\exception\ServicesException
     */
    public function PddMallInfoGet($mall_id =  null)
    {
        $action = 'pdd.mall.info.get';
        $resData = $this->requestIsv($action,[],$mall_id);

        if(!$resData)
        {
            return [];
        }
        return $resData['mall_info_get_response'];

    }

}